Inheritance of Synchronization Constraints in Concurrent Object-Oriented Programming Languages
نویسنده
چکیده
We analyse how inheritance of synchronization constraints should be supported. The conclusion of our analysis is that inheritance of synchronization constraints should take the form of incrementally more restrictive constraints for derived subclasses. Our conclusion is based on the view that combinations of behavior in object-oriented languages yield subclasses that extend superclass behavior. We give a notation for describing synchronization constraints. In our notation, synchronization constraints can be inherited and aggregated. We present a number of examples that illustrate the fundamental concepts captured by our notation. Synchronization constraints are described as restrictions that apply to invocation of methods. Application of restrictions is pattern-based, which allows the same restriction to apply to multiple methods and multiple restrictions to apply to the same method.
منابع مشابه
Jeeg: temporal constraints for the synchronization of concurrent objects
We introduce Jeeg, a dialect of Java based on a declarative replacement of the synchronization mechanisms of Java that results in a complete decoupling of the ‘business’ and the ‘synchronization’ code of classes. Synchronization constraints in Jeeg are expressed in a linear temporal logic which allows to effectively limit the occurrence of the inheritance anomaly that commonly affects concurren...
متن کاملDisC++: A software library for Object Oriented Concurrent and Distributed Programming
DisC++ (Distributed C++) is a set of C++ libraries for concurrent programming that provides a comprehensive framework particularly suitable for coarse-grained distributed applications development. It can be considered a good alternative to classical distributed programming libraries, such as PVM and MPI, to develop distributed applications. Code reuse is stimulated by the adopted object model, ...
متن کاملConcurrent Object-Oriented Languages and the Inheritance Anomaly
A survey of concurrent object-oriented languages is presented. The survey is organized around three models: the Animation Model that describes a variety of relationships between threads and objects, an Interaction Model that classi es the possible semantics of invocations and returns between a client object and a server object, and a Synchronization Model that shows di erent ways in which concu...
متن کاملThe Adaptive Arena: A Concurrent Object-Oriented Model
Most of the current concurrent object-oriented approaches do not address the issue of separation of concern between synchronization and scheduling controls inside the concurrent objects. This paper presents a concurrent object-oriented model in which a concurrent object, which represents a shared resource abstraction in our model, is decomposed into a hierarchy of abstractions: a shared data ab...
متن کاملInheritance Anomaly
Inheritance anomaly is a well known problem in concurrent object-oriented programming. Much work has been done in this area recently, but the problem is far from solved. In this paper we propose a simple language construct that solves the inheritance anomaly. Our proposal involves the use of preconditions and post-actions in which synchronization constraints of objects are speciied. Preconditio...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1992